Jx.declare('Jx.platform.browser.dom.Element', {

	$extend: 'Jx.platform.browser.dom.Node',
	
	document: undefined,

	constructor: function(document){

		if (Jx.instanceOf(document, 'Jx.platform.browser.dom.Document')){

			this.document = document;
			
			this.defaultView = document.defaultView;

			this.$super(
					
				Array.prototype.slice.call(arguments, 1)
				
			);

		} else {

			throw Jx.createError('invalid document instance: [', document, ']');

		}

	},

	onInitialize: function(operation, node){

		this.$super(arguments);

	},

	isValidNode: function(node){
		
		return this.$Dom.isDom(node, 1);
		
	}



});
